Multi-bit flash memory and reading method thereof

ABSTRACT

A multi-bit flash memory and a reading method thereof. Multiple reference memory cells for saving reserved data are provided to operate together with multiple data memory cells. Before the data memory cells are read, data stored in the reference memory cell is sensed based on a present reference current. Then, a value of a new reference current for reading the data memory cells is determined according to a difference between the sensed data and the reserved data.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates in general to a flash memory, and moreparticularly to a multi-bit flash memory and a reading method thereof.

2. Description of the Related Art

A charge trapping memory utilizes a localized charge trapping layer toreplace a “polysilicon floating gate” in capturing electrons or holes.This localized charge trapping layer is made of a silicon nitridematerial. The silicon-nitride charge trapping layer is not a conductor.So, compared the flash memory with the typical polysilicon floatinggate, the electrons or holes injected into the silicon-nitride chargetrapping layer theoretically cannot diffuse over the silicon-nitridecharge trapping layer evenly but are concentrated on a local area, suchas left and right sides in the flash memory cell. Thus, according tothis property, one memory cell can store at least 2 bit of logic data.

However, some electrons or holes are not offset and remain on thesilicon-nitride charge trapping layer after the memory has beenprogrammed and erased for many times, thereby causing the variation ofthe threshold voltage Vt. Consequently, the data read error may occur atthe next reading process.

In view of this, the data read error occurring after many times ofprogramming and erasing processes is a problem to be solved in theassociated industry.

SUMMARY OF THE INVENTION

The invention is directed to a multi-bit flash memory and a readingmethod thereof capable of improving the correctness of data reading.

According to a first aspect of the present invention, a multi-bit flashmemory is provided. The multi-bit flash memory includes data memorycells, reference memory cells and one sensing component. The data memorycells are changed data together. The reference memory cells are used forsaving reserved data. The reference memory cells are also changed datatogether with the data memory cells. The sensing component is connectedto these data memory cells and these reference memory cells. Before thedata memory cells are read, the sensing component senses the data storedin the reference memory cells based on a present reference current, andthen determines a value of the reference current for reading the datamemory cells according to a difference between the sensed data and thereserved data.

According to a second aspect of the present invention, a method ofreading a multi-bit flash memory is provided. The multi-bit flash memoryhas multiple data memory cells changed data together. The methodincludes the following steps. Data stored in multiple reference memorycells are sensed based on a present reference current. The referencememory cells are used for saving reserved data and are changed datatogether with the data memory cells. A difference between the datasensed from the reference memory cells and the reserved data isdetermined by way of comparison. If the difference between the datasensed from the reference memory cells and the reserved data does exist,a value of the reference current is adjusted according to the differenceuntil the data, which is stored in the reference memory cells sensedbased on the adjusted reference current, matches with the reserved data.The data memory cells are read based on the adjusted reference current.

The invention will become apparent from the following detaileddescription of the preferred but non-limiting embodiments. The followingdescription is made with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic illustration showing the constant currentarchitecture.

FIG. 2 is a schematic illustration showing the architecture of amulti-bit flash memory according to a preferred embodiment of theinvention.

FIG. 3 is a schematic illustration showing the architecture of sensingcomponents according to the invention.

FIG. 4A is a schematic illustration showing the architecture of sensingcomponents according to the invention.

FIG. 4B is a schematic illustration showing threshold voltagescorresponding to the reference currents and the logic states.

DETAILED DESCRIPTION OF THE INVENTION

A multi-bit flash memory utilizes a “constant current” architecture toread data stored in data memory cells. FIG. 1 is a schematicillustration showing the constant current architecture. The illustrationwill be made by taking one multi-bit memory cell 100, in which each sidecan store two bits, as an example. Because of the 2-bit data, theconstant current architecture provides three gate voltages Vg1, Vg2 andVg3 to a gate G of the memory cell 100 to distinguish four logic states(00, 01, 10 and 11). When the three gate voltages Vg1, Vg2 and Vg3 arebeing applied, it is determined that the current, which flows out of themulti-bit memory cell 100 under which gate voltages, is closest to areference current and, for example, greater than the reference currentby a predetermined value. Thus, the logic state to which the data statethereof pertains may be judged. For example, the ON current of themulti-bit memory cell 100 when the gate voltages Vg3 and Vg2 are appliedto the multi-bit memory cell is greater than a reference current Iref bya predetermined value and Vg1 is applied to the multi-bit memory cell isless than a reference Iref by a predetermined value, the data stored inthe multi-bit memory cell pertains to a secondary lowest logic statecorresponding to the threshold voltage, such as the logic state “10” ofFIG. 1.

The concept of this embodiment is to provide multiple reference memorycells for saving reserved data and multiple data memory cells, whichoperate (program and erase) together, and the data stored in thereference memory cells are sensed based on a present reference current,such as a default reference current, before reading. Then, a value of anew reference current for reading the data memory cells is determinedaccording to a difference between the sensed data and the reserved data.

FIG. 2 is a schematic illustration showing the architecture of amulti-bit flash memory 200 according to a preferred embodiment of theinvention. Referring to FIG. 2, the multi-bit flash memory 200 hasmultiple reference memory cells 202, multiple data memory cells 204 andone sensing component 206. The reference memory cells 202 are changed(program and erase) data together with the data memory cells 204. Asshown in FIG. 2, for example, the data memory cells 204 are all in asector 300, and the reference memory cells 202 are disposed in thesector 300 so as to operate together with the data memory cells 204 whenthe data is being updated. The sensing component 206 is connected thedata memory cells 204 and the reference memory cells 202. Before thedata memory cells 204 are read, the sensing component 206 senses thedata stored in the reference memory cells 202 based on a presentreference current (not shown). Then, the sensing component 206determines a value of a new reference current for reading the datamemory cells 204 according to a difference between the sensed data andthe reserved data. The present reference current may be, for example,the default reference current or the reference current for reading thesector 300 last.

As shown in FIG. 2, the data memory cells 204 are electrically connectedto corresponding word lines WL(1) to WL(N) respectively, wherein N is apositive integer; and the reference memory cells 202 are electricallyconnected to another corresponding word line TWL(1) respectively. Thatis, the word line TWL(1) connected to the reference memory cells 202 isadditionally disposed in the sector 300 of this embodiment. Because thereference memory cells 202 and the data memory cells 204 are disposed inthe same sector 300, the same number of program and erase operations areperformed in the reference memory cells 202 and the data memory cells204. That is, the threshold voltage variation of the reference memorycell 202 is similar to that of the data memory cell 204. The inventionis not restricted to the particular architecture, in which the referencememory cell 202 is disposed in each sector. For example, the referencememory cells and the data memory cells may share the word lines in thesame sector, or the reference memory cells and the data memory cells mayoperate together according to other methods. In addition, the number ofthe reference memory cells 202 also has to be high enough to representthe condition of the threshold voltage variation after multiple times ofprogram and erase operations in the data memory cells 204.

The reference memory cells 202 always save the reserved data. Forexample, when the reference memory cells 202 are operated together withthe sector 300, the reserved data is always written into the referencememory cells 202. Because the reference memory cells 202 save the knowndata, the sensing component 206 senses the reference memory cells 202based on the present reference current Iref, and then compares thesensed data with the reserved data to obtain the difference between thereserved data and the sensed data, which is sensed by the referencememory cells 202 based on the present reference current Iref. Thedifference stands for the variation relationship between the presentreference current Iref and the threshold voltage corresponding to eachlogic state of the present reference memory cell 202. In addition,because the threshold voltage variation of the reference memory cell 202is similar to that of the data memory cell 204, this difference may alsobe regarded(considered) as the variation relationship between thepresent reference current Iref and the threshold voltage correspondingto each logic state of the present data memory cell 204. Thus, thesensing component 206 adjusts the value of the reference current Irefaccording to the difference until the data stored in the referencememory cells sensed based on the reference current Iref matches with thereserved data. When the data memory cells 204 are being read, thesensing component 206 provides the adjusted reference current Iref asthe reference for reading the data memory cells 204. Thus, it ispossible to prevent the problem of data read error after multiple timesof programming and erasing cycles. Wherein after comparison, if the datasensed by the reference memory cells 202 matches with the reserved data,the sensing component 206 directly provides the present referencecurrent Iref as the reference for reading the data memory cells 204.

The memory cell array depicted in FIG. 2 has the NOR type architecture.However, one of ordinary skill in the art may also achieve the effect ofthe invention using any other architecture of the memory cell arrayaccording to the concept of this embodiment. This embodiment is notrestricted to the type of the architecture of the memory cell array forimplementing the invention.

FIG. 3 is a schematic illustration showing the architecture of sensingcomponents according to the invention. Referring to FIG. 3, the sensingcomponent 206 further includes a data judgement unit 208, a comparisonunit 210 and a reference current control unit 212. The data judgementunit 208 is electrically connected to the reference memory cells 202 andthe data memory cells 204, judges which logic state (e.g., “00” or “01”or “11” or “10”) the data stored in the reference memory cells 202 orthe data memory cells 204 pertains to according to reference currentIref, and thus outputs the data stored in the reference memory cells 202to the comparison unit 210. The comparison unit 210 compares the datasensed from the reference memory cells 202 with the reserved data todetermine whether they match with each other, and thus outputs acomparison result to the reference current control unit 212. When thecomparison result represents that the logic state corresponding to thedata sensed by the reference memory cells 202 becomes the logic statecorresponding to the higher threshold voltage level, the referencecurrent control unit 212 reduces the value of the present referencecurrent. On the contrary, when the comparison result represents that thelogic state corresponding to the data sensed by the reference memorycells 202 becomes the logic state corresponding to the lower thresholdvoltage level, the reference current control unit 212 increases thevalue of the present reference current. The reference current controlunit 212 provides the adjusted reference current, such as Iref, to thedata judgement unit 208. The data judgement unit 208 again senses thedata stored in the reference memory cells 202 according to the newreference current Iref′. The comparison unit 210 again compares the datasensed from the reference memory cells 202 with the reserved data todetermine whether they match with each other so as to ensure thecorrectness of reading the data according to the new reference currentIref′.

The reference current control unit 212 gradually adjusts the value ofthe reference current in a stepping manner. In addition, the referencecurrent control unit 212 finds the reference current, which enables thedata sensed from all the reference memory cell 202 to match with thereserved data, according to the variations of various logic states incorrespondence with the variations of different logic states (e.g., thethreshold voltages of some memory cells rise while the thresholdvoltages of the other memory cells drop). That is, the types of thereserved data include various logic states to ensure that the thresholdvoltage variation of the reference memory cell is similar to that of thedata memory cells. For example, as for one memory cell capable ofstoring 2 bits of data, the reserved data includes all various logicstates “00”, “01”, “10” and “11”. In this invention, the type andarrangement of the reserved data are not particularly limited, whereinthe arrangement of the reserved data represents that the data is storedin which reference memory cells. One of ordinary skill in the art mayeasily design any modification according to the above-mentioned concept.Preferably, the reserved data can set the data type according to thedata storing property (e.g., the second bit effect) and the containedlogic states.

FIG. 4A is a schematic illustration showing the architecture of sensingcomponents according to the invention. For explaining clearly andconveniently, in FIG. 4A four reference memory cells 202(1) to 202(4)and four data memory cells 204(1) to 204(4) are depicted as an example,and one memory cell can store 2-bit of data. The reference memory cells202(1) to 202(4) respectively save reserved data “11”, “10”, “00” and“01”. The data judgement unit 208 further has, for example, four datajudging circuits DJC(1) to DJC(4) corresponding to the number of thereference memory cells 202. The data judging circuits DJC(1) to DJC(4)respectively sense the corresponding memory cells 202 and receive thereference current Iref. The comparison unit 210 further has, forexample, four comparators C(1) to C(4) corresponding to the number ofthe reference memory cells 202. The comparators C(1) to C(4) arerespectively connected with the corresponding data judging circuits DJCto receive the data of the corresponding reference memory cells and thereserved data. For example, one end of the first comparator C(1) isconnected with the first data judging circuit DJC(1) to receive the dataof the first reference memory cell 202(1), and the other end of thefirst comparator C(1) receives the reserved data “11”.

FIG. 4B is a schematic illustration showing threshold voltagescorresponding to the reference currents and the logic states. Four logicstates correspond to the values of the threshold voltages aresequentially “11”, “10”, “00” and “01” from low to high. Therelationship between the default operation window (i.e., the thresholdvoltage corresponding to each logic state) and the reference current isrepresented by symbol 400.

For example, after the sector 300 has been programmed and erased manytimes, the threshold voltage of the reference memory cell 202 isshifted. For instance, the threshold voltage of the reference memorycell 202(2) for storing the logic data “10” falls from the distributionB to the distribution A (the threshold voltage range corresponding tothe logic data “11”). The threshold voltage variations of otherreference memory cells 202(1), 202(3) and 202(4) are shown in thedrawing. That is, the data read error may occur if the conventionalreading method is utilized in the condition of symbol 410 (i.e., thedata memory cells are read based on the default reference current). Forinstance, the data “10” stored in the memory cell 202(2) is read as“11”. However, before the data memory cells 204 are read in thisembodiment, the reference current control unit 212 firstly provides onepresent reference current Iref, such as a default current value, to thedata judging circuits DJC(1) to DJC(4), and multiple gate voltages VG1to VG3 for distinguishing multiple logic states are applied to thereference memory cells 202 or at least one gate voltage fordistinguishing multiple logic states is applied to the reference memorycells 202. Thus, the data judging circuits DJC(1) to DJC(4) respectivelydistinguish the data stored by the corresponding reference memory cells202 based on the present reference current Iref. Next, the comparatorsC(1) to C(3) respectively compare the data of the reference memory cells202 with the reserved data to obtain that the logic states “10”, “00”and “01” are wrong. As shown in FIG. 4B, the logic states of thereference memory cells 202(2), 202(3) and 202(4) have become the logicstates corresponding to the lower threshold voltage level, so thereference current control unit increases the reference current Iref.Then, all reference memory cells 202 are again sensed based on theadjusted reference current Iref′ in order to ensure the correctness ofthe adjusted reference current Iref′. Finally, the data memory cells 204are read based on the passed reference current.

In addition, when the varying property of the threshold voltage of thememory cell, such as the N-type memory cell, is observed for a longtime, the threshold voltages corresponding to the four logic statesthereof fall down (i.e., leftward movement on the drawing). So, it isalso possible to apply one gate voltage for distinguishing multiplelogic states to the reference memory cells. For instance, the gatevoltage VG2 is applied to divide the four logic states 11, 10, 00 and 01into two groups including a first group composed of 11, 10 and a secondgroup composed of 00, 01. Thus, when the logic state is changed from thegroup of 11, 10 to the group of 00, 01, the reference current isdecreased, or otherwise the reference current is increased. Of course,many methods may be utilized to find the relationship between the logicdata stored in the reference memory cells and the predetermined logicdata according to the different types of data judging circuits ordifferent logic concepts. The invention is not particularly restrictedto the corresponding relationship, according to which the value of thereference current for reading the data memory cells is determined. Forexample, the value of the reference current for reading the data memorycells may be determined by comparing the numbers of “0” and “1” betweenthe “read logic data” and the “reserved data” to obtain the differencethere between, or the middle value may be found directly.

The multi-bit flash memory and the reading method thereof of theinvention can effectively solve the problem of the data read errorcaused by multiple times of writing and erasing cycles.

While the invention has been described by way of example and in terms ofa preferred embodiment, it is to be understood that the invention is notlimited thereto. On the contrary, it is intended to cover variousmodifications and similar arrangements and procedures, and the scope ofthe appended claims therefore should be accorded the broadestinterpretation so as to encompass all such modifications and similararrangements and procedures.

1. A multi-bit memory, comprising: a plurality of data memory cells tobe altered together; a plurality of reference memory cells for storingreserved data, wherein the reference memory cells are altered togetheralong with the data memory cells; and a sensing component connected tothe data memory cells and the reference memory cells, wherein thesensing component senses data stored in the reference memory cells basedon a reference current to determine a new reference current for readingthe data memory cells.
 2. The multi-bit flash memory according to claim1, wherein the data memory cells and the reference memory cells aredisposed in a same sector of the multi-bit flash memory.
 3. Themulti-bit flash memory according to claim 2, the data memory cells arerespectively connected to corresponding word lines, and the referencememory cells are respectively connected to another corresponding wordline.
 4. The multi-bit flash memory according to claim 2, wherein thesensing component comprises: a data judgement unit to be connected withthe data memory cells and the reference memory cells, and used forjudging the data stored in the data memory cells and the referencememory cells according to the reference current; a comparison unit,which is coupled to the data judgement unit, for receiving the datastored in the reference memory cells, used for comparing the data storedin the reference memory cells and the reserved data to determine whetherthe data stored in the reference memory cells matches with the reserveddata, and thus outputting a comparison result; and a reference currentcontrol unit, which is coupled to the comparison unit, receives thecomparison result and outputs the reference current to the datajudgement unit, wherein: when the difference between the sensed data ofthe reference memory cells and the reserved data exists, the referencecurrent control unit adjusts the value of the reference currentaccording to the difference until the data, which is stored in thereference memory cells sensed based on the adjusted reference current,matches with the reserved data; when the data memory cells are beingread, the reference current control unit outputs an adjusted referencecurrent to the data judgement unit; and when the data sensed by thereference memory cells matches with the reserved data, the referencecurrent control unit outputs the present reference current.
 5. A methodof reading a multi-bit flash memory having a plurality of data memorycells to be changed data together, the method comprising the steps of:sensing data stored in a plurality of reference memory cells based on apresent reference current, wherein the reference memory cells are usedfor saving reserved data and are changed data together with the datamemory cells; and determining a value of a new reference current forreading the data memory cells according to a difference between the datasensed from the reference memory cells and the reserved data.
 6. Themethod according to claim 5, further comprising the steps of: comparingthe data sensed from the reference memory cells with the reserved datato obtain the difference; adjusting, if the difference exists, the valueof the reference current according to the difference until the data,which is stored in the reference memory cells sensed based on theadjusted reference current, matches with the reserved data; and readingthe data memory cells based on the adjusted reference current.
 7. Themethod according to claim 6, wherein if the data sensed by the referencememory cells matches with the reserved data, the data memory cells areread based on the present reference current.
 8. The method according toclaim 7, wherein the step of adjusting the value of the new referencecurrent according to the difference further comprises: reducing thepresent reference current if a threshold voltage level of the referencememory cells increased; and increasing the present reference current ifa threshold voltage level of the reference memory cells decreased. 9.The method according to claim 8, wherein the step of sensing the datastored in the reference memory cells further comprises: applying aplurality of gate voltages for distinguishing a plurality of logicstates to the reference memory cells based on the present referencecurrent, or applying at least one of the gate voltages fordistinguishing the logic states to the reference memory cells so as todetermine which logic state the data stored in the reference memorycells pertains to.
 10. A method of reading a multi-bit flash memoryhaving a plurality of data memory cells to be changed data together, themethod comprising the steps of: sensing data stored in a plurality ofreference memory cells based on a present reference current, wherein thereference memory cells are used for saving reserved data and are changeddata together with the data memory cells; comparing the data sensed fromthe reference memory cells with the reserved data to obtain adifference; adjusting, if the difference exists, a value of thereference current according to the difference until the data, which isstored in the reference memory cells sensed based on the adjustedreference current, matches with the reserved data; and reading the datamemory cells based on the adjusted reference current.
 11. The methodaccording to claim 10, wherein if the data sensed by the referencememory cells matches with the reserved data, the data memory cells areread based on the present reference current.
 12. The method according toclaim 11, wherein the step of adjusting the value of the new referencecurrent according to the difference further comprises: reducing a valueof the present reference current if a logic state corresponding to thedata sensed by the reference memory cells becomes another logic statecorresponding to a higher threshold voltage level; and increasing thevalue of the present reference current if the logic state correspondingto the data sensed by the reference memory cells becomes another logicstate corresponding to a lower threshold voltage level.
 13. The methodaccording to claim 12, wherein the step of sensing the data stored inthe reference memory cells further comprises: applying a plurality ofgate voltages for distinguishing a plurality of logic states to thereference memory cells based on the present reference current, orapplying at least one of the gate voltages for distinguishing the logicstates to the reference memory cells so as to determine which logicstate the data stored in the reference memory cells pertains to.